package ZuoYe;

public class BingXiang extends DianQi{
    private String MenKuanShi;
    private String ZhiLeng;

    public BingXiang(){

    }

    public BingXiang(String pinpai, String xinghao, String color, int price, String menKuanShi, String zhiLeng) {
        super(pinpai, xinghao, color, price);
        MenKuanShi = menKuanShi;
        ZhiLeng = zhiLeng;
    }


    public BingXiang(String menKuanShi, String zhiLeng) {
        MenKuanShi = menKuanShi;
        ZhiLeng = zhiLeng;
    }

    public String getMenKuanShi() {
        return MenKuanShi;
    }

    public void setMenKuanShi(String menKuanShi) {
        MenKuanShi = menKuanShi;
    }

    public String getZhiLeng() {
        return ZhiLeng;
    }

    public void setZhiLeng(String zhiLeng) {
        ZhiLeng = zhiLeng;
    }


}
